package team.first.moviedb.entity;

import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
  * @Author:        HAPPY
  * @Project_name:  project
  * @Package_name:  team.first.moviedb.entity
  * @Date:          2021/10/8 11:22
  */
public class Score implements Serializable {
    private Integer id;

    /**
    * 电影编号
    */
    private Integer movieId;

    /**
    * 用户账号
    */
    private Integer userId;

    /**
     * 评分
     */
    private Integer score;

    private static final long serialVersionUID = 1L;

    public Score(Integer id, Integer movieId, Integer userId, Integer score) {
        this.id = id;
        this.movieId = movieId;
        this.userId = userId;
        this.score = score;
    }
}